package com.example.course.service;

import com.example.course.dto.admin.*;
import com.example.course.pojo.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.course.utils.common.result.Result;

/**
* @author 24354
* @description 针对表【admin】的数据库操作Service
* @createDate 2024-03-15 20:26:06
*/
public interface AdminService extends IService<Admin> {

    Result login(AdminAdminLoginDto dto);

    Result saveAdmin(AdminAdminSaveDto dto);

    Result getAdminUser(AdminUserListDto dto);

    Result removeAdminUser(AdminUserRemoveDto dto);

    Result updateAdmin(AdminUpdateDto dto);
}
